package com.hotel.entity;

import java.util.Date;

import net.sf.json.JSONObject;

public class RoomTypeEntity {
	private int id;
	private String name;
	private String facility;
	private int num;
	private boolean window;
	private double price;
	private int discount;
	private int condi;
	private Date addDate;
	private String zcomment;
	public String toString(){
		JSONObject json=new JSONObject();
		json.put("id", id);
		json.put("name", name);
		json.put("facility", facility);
		json.put("num", num);
		json.put("window", window);
		json.put("price", price);
		json.put("discount", discount);
		json.put("condi", condi);
		json.put("addDate", addDate.toString());
		json.put("zcomment",zcomment);
		return json.toString();
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getFacility() {
		return facility;
	}
	public void setFacility(String facility) {
		this.facility = facility;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public boolean isWindow() {
		return window;
	}
	public void setWindow(boolean window) {
		this.window = window;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getDiscount() {
		return discount;
	}
	public void setDiscount(int discount) {
		this.discount = discount;
	}
	public String getZcomment() {
		return zcomment;
	}
	public void setZcomment(String zcomment) {
		this.zcomment = zcomment;
	}
	public int getCondi() {
		return condi;
	}
	public void setCondi(int condi) {
		this.condi = condi;
	}
	public Date getAddDate() {
		return addDate;
	}
	public void setAddDate(Date addDate) {
		this.addDate = addDate;
	}
	
}
